function [out, Maturity, equity_mv] = debtoverhang_given_debtmat(struct_input, firm_type, debtmat)

debtmat_dur = duration([debtmat*365*24, 0, 0]);

struct_input.Maturity = struct_input.Settle + debtmat_dur;
Maturity = struct_input.Maturity;
[out, equity_mv] = debtoverhang_fun(struct_input, firm_type);

end